﻿#include "cross_comm.h"

#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <cerrno>
#endif

int as::tools::GetLastError()
{
#ifdef _WIN32
	return ::GetLastError();
#else
	return errno;
#endif

}
